<%@ include file="/common/taglibs.jsp"%>
<ul id="navigation">
	    <li>
			<a href="${ctx}/productsearch.html"><fmt:message key="common.Home" /></a>
		</li>		
		
	<li onmouseover="displaySubMenu(this)" onmouseout="hideSubMenu(this)">
		<shiro:hasPermission name="sysmanage">
		<a href="#">
						<fmt:message key="menu.sysmanage"/>
		</a>
		</shiro:hasPermission>
		<ul>
			<shiro:hasPermission name="usermanage">
			<li>
				<a href="${ctx}/user/users.html?method=list"><fmt:message key="menu.sysmanage.sys1"/></a>
			</li>
			</shiro:hasPermission>
			<shiro:hasPermission name="rolemanage">
			<li>
				<a href="${ctx}/user/roleform.html?method=query&operate=select"><fmt:message key="menu.sysmanage.sys2"/></a>
			</li>
			</shiro:hasPermission>
			<shiro:hasPermission name="authoriymanage">
			<li>
				<a href="${ctx}/user/authoriyform.html?method=query"><fmt:message key="menu.sysmanage.sys3"/></a>
			</li>
			</shiro:hasPermission>
			<shiro:hasPermission name="sysconfig">
			<li>
				<a href="${ctx}/systemConfig/sysConfigEdit.html?method=list"><fmt:message key="menu.sysmanage.sys4"/></a>
			</li>
			</shiro:hasPermission>
			<shiro:hasPermission name="logmanager">
			<li>
				<a href="${ctx}/systemConfig/sysLog.html?method=list"><fmt:message key="menu.sysmanage.sys5"/></a>
			</li>
			</shiro:hasPermission>
			<shiro:hasPermission name="monitoring">
			<li>
				<a href="${ctx}/getuserlist.html"><fmt:message key="userlist.monitoring"/></a>
			</li>
			</shiro:hasPermission>
			
		</ul>
	</li>
	
	<li onmouseover="displaySubMenu(this)" onmouseout="hideSubMenu(this)">
		<a href="${ctx}/shopcar/shopcar.html?method=query">
						<fmt:message key="menu.shopping"/>
		</a>
	</li>
	<li onmouseover="displaySubMenu(this)" onmouseout="hideSubMenu(this)">
		<a href="${ctx}/orderinfo/orderform.html?method=query">
						<fmt:message key="menu.shopping.s2"/>
		
		</a>
		<!--<ul>
			<li>
				<a href="${ctx}/orderinfo/orderform.html?method=query"><fmt:message key="menu.shopping.s2"/></a>
			</li>
			
			<%-- 
			<li>
				<a href="${ctx}/orderinfomodel/orderinfomodelform.html?method=query&operate=list"><fmt:message key="menu.shopping.s3"/></a>
			</li>
			--%>
		</ul>
	--></li>
	
	
	<li>
    	<a href="${ctx}/user/edituserform.html"><fmt:message key="common.Edit"/></a>
	</li>
	
	
	<li onmouseover="displaySubMenu(this)" onmouseout="hideSubMenu(this)">
		<shiro:hasPermission name="analycs">
		<a href="#">
						<fmt:message key="menu.reportcount"/>
				
		</a>
		</shiro:hasPermission>
		<ul>
			<shiro:hasPermission name="useranalycs">
			<li>
				<a href="${ctx}/report/usercount.html"><fmt:message key="menu.reportcount.r1"/></a>
			</li>
			</shiro:hasPermission>
			<shiro:hasPermission name="orderanalycs">
			<li>
				<a href="${ctx}/report/orderreport.html"><fmt:message key="menu.reportcount.r2"/></a>
			</li>
			</shiro:hasPermission>
			<%-- 
			<shiro:hasPermission name="collectanalycs">
			<li>
				<a href="${ctx}/report/collectreport.html"><fmt:message key="menu.reportcount.r3"/></a>
			</li>
			</shiro:hasPermission>--%>
			<shiro:hasPermission name="visitanalycs">
			<li>
				<a href="${ctx}/report/visitreport.html"><fmt:message key="menu.reportcount.r4"/></a>
			</li>
			</shiro:hasPermission>
			<%-- 
			<shiro:hasPermission name="downanalycs">
			<li>
				<a href="${ctx}/report/downloadreport.html"><fmt:message key="menu.reportcount.r6"/></a>
			</li>
			</shiro:hasPermission>--%>
		</ul>
	</li>
</ul>